---
title: 'Fixing the Past: The Effects of Human Rights Trials on Political Attitudes
  in Argentina'
author: "Pearce Edwards, Jennifer Gandhi, Donald Grasse"
date: "2024-05-03"
output: pdf_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

# Overview of Folders

This document contains the replication instructions for the manuscript ``Fixing the Past: The Effects of Human Rights Trials on Political Attitudes in Argentina.''

## Clean folder 
The Clean folder cleans the raw survey data for the primary data analysis. 

## Data Folder 

The Data folder contains the following information: 
\begin{itemize}
\item map\_data.csv: A comma separated datafile containing information about countries that had transitional justice trials during a democratic period after a military autocratic spell 
\item trends\_data.csv; trends\_lapop\_subset.csv; google-trends.csv: Comma separated datafiles containing google trends data during various time windows
\item scope-conditions.csv: A comma separated file of countries exposed to military dictatorship which had transitional justice trials.
\item Argentina LAPOP AmericasBarometer 2012 Rev1\_W.dta: A stata file containing the 2012 LAPOP survey wave in Argentina.
\item lapop12.rds: an RData file which is the cleaned output from transformations performed on the Argentina LAPOP AmericasBarometer 2012 Rev1\_W.dta raw data.
\end{itemize}

## The Tab Folder 

The tab folder includes the scripts to produce each table in the manuscript and appendix 

## The Fig folder 

The fig folder includes the scripts to produce each figure in the manuscript and appendix 

## The Fig-out Folder 

The fig-out folder includes the final figures (images) created from the scripts in the fig folder. 

## The \_central.R Script

\_central.R is the main script that calls the packages necessary for analysis and reads all individual scripts from tab and fig. 

# Instructions for Replication
\begin{itemize}
\item Change working directory in the \_central.R script. 
\item Run the \_central.R script
\item For individual scripts, use the source(.) argument and include the relative path for the desired script in the place of .
\end{itemize}

# Session Infromation

```{r}
sessionInfo()
```
